<style>
    .layui-header{
        height: 50px;
        line-height: 50px;
        min-width: 1000px;
    }
    .layui-header img{
        display: block;
        width: 200px;
        height: 50px;
    }
    .layui-nav-item a{
        display: inline-block;
        height: 50px;
        line-height: 50px;
    }

    .main-container .footer{
        text-align: center;
        height: 25px;
        width: 1336px;
        line-height: 25px;
        background-color: rgb(218, 218, 218);
        position: fixed;
        right: 0;
        bottom: 0;
    }

    .layui-nav-child{
        position: absolute;
        top: 50px;
    }
</style>

<div class="layui-header">
    <div class="layui-logo">
        <img src="/static/admin/images/logo.png" alt="">
    </div>
    <!-- 水平导航 -->
    <ul class="layui-nav layui-layout-left">
        <li class="layui-nav-item"><a href="###">商品管理</a>
            <dl class="layui-nav-child">
                <dd><a href="../cate/lst">分类列表</a></dd>
                <dd><a href="../goods/lst">商品列表</a></dd>
                <dd><a href="../photo/index">相册列表</a></dd>
                <dd><a href="../comment/selectgoods">评论列表</a></dd>
            </dl>
        </li>
        <li class="layui-nav-item"><a href="###">会员管理</a>
            <dl class="layui-nav-child">
                <dd><a href="../member/lst">会员管理</a></dd>
            </dl>
        </li>
        <li class="layui-nav-item"><a href="###">订单管理</a>
            <dl class="layui-nav-child">
                <dd><a href="../order/lst">订单列表</a></dd>
            </dl>
        </li>
        <li class="layui-nav-item"><a href="###">轮播图管理</a>
            <dl class="layui-nav-child">
                <dd><a href="../alter_photo/lst">轮播图列表</a></dd>
                <dd><a href="../alter_photo/add">添加轮播图</a></dd>
            </dl>
        </li>
        <li class="layui-nav-item"><a href="###">在线聊天室</a>
            <dl class="layui-nav-child">
                <dd><a href="../chat/lst">聊天列表</a></dd>
            </dl>
        </li>
    </ul>
    <ul class="layui-nav layui-layout-right">
        <li class="layui-nav-item"><a href=""><i class="layui-icon layui-icon-user" style="margin-right: 5px;"></i>{$Think.session.admin.name}</a>
        </li>
        <li class="layui-nav-item"><a href="/admin/index/logout">退出</a></li>
    </ul>
</div>